package com.ty.day6;

import java.nio.charset.StandardCharsets;
import java.util.Arrays;
import java.util.Random;

/**
 * Created by IntelliJ IDEA.
 *
 * @author : txy
 * @create : 2023/11/13 14:03
 */
public class Two {
    public static void main(String[] args) {
        Random random = new Random();
        char c = (char) (random.nextInt('z' - 'a' + 1) + 'a');
        System.out.println(c);
        int i = 0;
        if (i ==0)
            System.out.println("123");
        byte b = (byte) 4096;
        if (b==4096){
            System.out.println(12344);
        }else {
            System.out.println(321);
        }
        System.out.println(Float.MAX_VALUE>=Long.MAX_VALUE);
        System.out.println(Byte.MAX_VALUE+" "+Byte.MIN_VALUE);
        String s = "学Java";
        char[] xx = s.toCharArray();

        System.out.println(Boolean.valueOf("TRue"));
        System.out.println(Arrays.toString("Java".getBytes()));
    }
}
